package face.pay.entity;


import lombok.Data;

@Data
public class CpnMarketSourcesConfig {
    private Integer id;
    private Integer oemId;


    //投放平台id
    private Integer market_id;
    //oem平台费用
    private Double oem_fee;
    //制作券平台费用
    private Double cpn_fee;
    //该投放平台能得到对应oem最优商户服务费
    private Double max_mch_fee;

    private String conver_url;

    /**
     * 0 通道关闭
     * 1 通道开启
     */
    private Integer status;

    private String createdTime;
    private Integer createdBy;
    private String updatedTime;
    private Integer updatedBy;

    public CpnMarketSourcesConfig() {
    }

    public CpnMarketSourcesConfig(Integer oemId, Integer market_id) {
        this.oemId = oemId;
        this.market_id = market_id;
    }

    @Override
    public String toString() {
        return "CpnMarketSourcesConfig{" +
                "id=" + id +
                ", oemId=" + oemId +
                ", market_id=" + market_id +
                ", oem_fee=" + oem_fee +
                ", cpn_fee=" + cpn_fee +
                ", max_mch_fee=" + max_mch_fee +
                ", conver_url='" + conver_url + '\'' +
                ", status=" + status +
                ", createdTime='" + createdTime + '\'' +
                ", createdBy=" + createdBy +
                ", updatedTime='" + updatedTime + '\'' +
                ", updatedBy=" + updatedBy +
                '}';
    }
}
